---
title: "Container"
slug: /getting-started/types/container
description: "Learn about the Container type in Dagger and how to use it for container operations."
---

import ContainerType from "@daggerTypes/_container.mdx";
import BuildImageFromDockerfile from '@cookbookBuild/_image-from-dockerfile.mdx';
import BuildImageFromDockerfileContext from '@cookbookBuild/_image-from-dockerfile-build-context.mdx';
import OciAnnotations from '@cookbookBuild/_oci-annotations.mdx';
import OciLabels from '@cookbookBuild/_oci-labels.mdx';
import DebugTerminal from "@cookbookError/_debug-terminal.mdx";
import InspectFilesystem from "@cookbookError/_inspect-filesystem.mdx";

<ContainerType />

## Examples

<BuildImageFromDockerfile />

<BuildImageFromDockerfileContext />

<DebugTerminal />

<InspectFilesystem />

<OciAnnotations />

<OciLabels />
